import React, {useEffect} from "react";
import {useRoutes} from "react-router-dom";
import helloRouter from "./views/helloword/routes"

const App = (props) => {
    let element = useRoutes([
        {path: "/admin", redirectTo:"/"},
        helloRouter
    ])

    return element;

}



export default App



